package kr.hkit.powerjava.chapter22;

public class PairMultipleGenericTest {
	public static void main(String[] args) {
		Pair<String, Integer> p1 = new OrderPair<String, Integer>("Event", 6);
		
		Pair<Integer, Integer> p2 = new OrderPair<Integer, Integer>(1, 90);
		
		String p1Key = p1.getKey();
		int p2Key = p2.getKey();
		
		System.out.println(p1Key);
		System.out.println(p2Key);
		
		
	}
}
